In.net, events work using delegates, which is Framework terminology for a callback.
NET中的事件使用委托来实现,委托是. NET中的术语,它实际上就是以前说所的回调。
UMDF uses a reference-counting scheme to manage the lifetime of callback objects and framework objects.
UMDF使用引用计数方案来管理回调对象和框架对象的寿命。
Drivers register callback objects by passing a pointer to one of the object's interfaces to the framework object that raises the related event.
驱动程序通过传递一个接口指针给分发相关事件的框架对象,来注册回调对象。
应用推荐